#ifndef AGENTTASKTIMER_H
#define AGENTTASKTIMER_H

#include "Agent/agenttaskbase.h"
class QTimer;

class AgentTaskTimer : public AgentTaskBase
{
    Q_OBJECT

public:
    explicit AgentTaskTimer(QMap <QByteArray,QByteArray> mapIPPortReqPacket,QByteArray packet,QString paramAppIP,
                quint16 paramAppPort,QObject *parent = 0);
    ~AgentTaskTimer();
private slots:
    void slotTimerSendPacketToServer();
    //基类的构造函数在构造的时候，会自动调用这个函数
    void slotInitDerivedClass();

private:
    void analyzeIncomeDatagram(QByteArray packet);
    QTimer *timer;

private:

};

#endif // AGENTTASKTIMER_H
